package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 素材库详情对象 a_data_info
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class ADataInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题名称 */
    @Excel(name = "标题名称")
    private String daTitle;

    /** 素材文件（多个图片/多个视频/单个文件） */
    @Excel(name = "素材文件", readConverterExp = "多=个图片/多个视频/单个文件")
    private String daCarousel;

    /** 内容 */
    @Excel(name = "内容")
    private String daDetails;

    /** 可见度权限 */
    @Excel(name = "可见度权限")
    private String agentLevel;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Integer likeNum;

    /** 下载数 */
    @Excel(name = "下载数")
    private Integer downloadNum;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Integer collectionNum;

    /** 分享数 */
    @Excel(name = "分享数")
    private Integer shareNum;

    /** 资料库ID */
    @Excel(name = "资料库ID")
    private Long dataId;

    /** 逻辑删除 */
    private Long delFlag;

    /** 是否上线 */
    @Excel(name = "是否上线")
    private Boolean isShow;

    /** 排序 */
    @Excel(name = "排序")
    private Integer numSoft;

    /** 审核状态0申请1同意2驳回 */
    @Excel(name = "审核状态0申请1同意2驳回")
    private String isState;

    private List<String> listImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDaTitle(String daTitle) 
    {
        this.daTitle = daTitle;
    }

    public String getDaTitle() 
    {
        return daTitle;
    }
    public void setDaCarousel(String daCarousel) 
    {
        this.daCarousel = daCarousel;
    }

    public String getDaCarousel() 
    {
        return daCarousel;
    }
    public void setDaDetails(String daDetails) 
    {
        this.daDetails = daDetails;
    }

    public String getDaDetails() 
    {
        return daDetails;
    }
    public void setAgentLevel(String agentLevel) 
    {
        this.agentLevel = agentLevel;
    }

    public String getAgentLevel() 
    {
        return agentLevel;
    }
    public void setLikeNum(Integer likeNum) 
    {
        this.likeNum = likeNum;
    }

    public Integer getLikeNum() 
    {
        return likeNum;
    }
    public void setDownloadNum(Integer downloadNum) 
    {
        this.downloadNum = downloadNum;
    }

    public Integer getDownloadNum() 
    {
        return downloadNum;
    }
    public void setCollectionNum(Integer collectionNum) 
    {
        this.collectionNum = collectionNum;
    }

    public Integer getCollectionNum() 
    {
        return collectionNum;
    }
    public void setShareNum(Integer shareNum) 
    {
        this.shareNum = shareNum;
    }

    public Integer getShareNum() 
    {
        return shareNum;
    }
    public void setDataId(Long dataId)
    {
        this.dataId = dataId;
    }

    public Long getDataId()
    {
        return dataId;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }
    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }
    public void setNumSoft(Integer numSoft) 
    {
        this.numSoft = numSoft;
    }

    public Integer getNumSoft() 
    {
        return numSoft;
    }

    public List<String> getListImg() {
        return listImg;
    }

    public void setListImg(List<String> listImg) {
        this.listImg = listImg;
    }

    public String getIsState() {
        return isState;
    }

    public void setIsState(String isState) {
        this.isState = isState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("daTitle", getDaTitle())
            .append("daCarousel", getDaCarousel())
            .append("daDetails", getDaDetails())
            .append("agentLevel", getAgentLevel())
            .append("likeNum", getLikeNum())
            .append("downloadNum", getDownloadNum())
            .append("collectionNum", getCollectionNum())
            .append("shareNum", getShareNum())
            .append("dataId", getDataId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("isShow", getIsShow())
            .append("numSoft", getNumSoft())
            .toString();
    }
}
